<?php
namespace app\index\controller;
use think\Controller;
use think\Db;
class Common extends Controller
{
	 public function __construct(){
		
		$da=Session('username');
		if($da==null)
		{
			$this->error('请登录','login/index');
			//return $this->redirect("/index/login/index");
		}
		
}
}
?>
